<script setup>
// 在Vue3 CompositionAPI中
// 获取路由对象router useRouter
// const router = useRouter()
// 获取路由参数route useRoute
// const route = useRoute()
import zhCn from 'element-plus/dist/locale/zh-cn.mjs'
// import en from 'element-plus/dist/locale/en.mjs'
// import { computed, ref } from 'vue'
// const locale = computed(() => (language.value === 'zh-cn' ? zhCn : en))
</script>

<template>
  <div>
    <el-config-provider :locale="zhCn">
      <router-view></router-view>
    </el-config-provider>
  </div>
</template>

<style scoped></style>
